// MainForm.cpp : implementation file
//

#include "stdafx.h"
#include "MyTemplateForm.h"


// CMyTemplateForm dialog

IMPLEMENT_DYNAMIC(CMyTemplateForm, CBaseForm)

CMyTemplateForm::CMyTemplateForm(CWnd* pParent /*=NULL*/)
	: CBaseForm(CMyTemplateForm::IDD, pParent)
{

}

CMyTemplateForm::~CMyTemplateForm()
{
}

void CMyTemplateForm::DoDataExchange(CDataExchange* pDX)
{
	CBaseForm::DoDataExchange(pDX);
}


BEGIN_MESSAGE_MAP(CMyTemplateForm, CBaseForm )

END_MESSAGE_MAP()

CString CMyTemplateForm::GetTitle() const
{
	return _T("MyTemplate Form");
}

BOOL CMyTemplateForm::AllowClose()
{
	//throw std::exception("The method or operation is not implemented.");
	return TRUE;
}



BOOL CMyTemplateForm::OnInitDialog()
{
	CBaseForm::OnInitDialog();

	return TRUE;  // return TRUE  unless you set the focus to a control
}

// CMyTemplateForm message handlers
